<!DOCTYPE html>
<html lang="zn">

<head>
  <meta charset="UTF-8">
  <!-- 引入OpenLayers CSS样式 -->
  <link rel="stylesheet" href="js/ol.css"
    type="text/css">
  <!-- 引入OpenLayers JS库 -->
  <script src="js/ol.js"></script>
  <!-- 引入mapbox地图样式V6版本 -->
  <script src="js/mapbox-streets-v6-style.js"></script>

  <!-- css代码 -->
  <style>
    .map {
      width: 100%;
      height: 800px;
      background: #f8f4f0;
    }
  </style>
  <title>Advanced Mapbox Vector Tiles-高级Mapbox矢量贴图</title>
</head>

<body>
  <!-- html代码 -->
  <div id="map" class="map"></div>
  <!-- script代码 -->
  <script src="t.js">
  </script>
</body>

</html>

